{% extends "PATHomeBundle::base.html.twig" %}
{% block body %}
{% if error %}
    <div>{{ error|trans({}, 'FOSUserBundle') }}</div>
{% endif %}

<form action="{{ path("fos_user_security_check") }}" method="post">
    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />

    <label for="username">Login</label>
    <input type="text" id="username" name="_username" required="required" />

    <label for="password">Mot de passe</label>
    <input type="password" id="password" name="_password" required="required" />

    <input type="checkbox" id="remember_me" name="_remember_me" value="on" />
    <label for="remember_me">Se souvenir de moi</label>

    <input type="submit" id="_submit" name="_submit" value="Valider" />
</form>
{% endblock %}